package com.taptech.doufu.bean.shelf;

import android.os.Parcel;
import android.os.Parcelable;

import com.taptech.doufu.bean.MineNovelBean;

/**
 * Created by op0509 on 2016/7/21.
 */
public class BookShelfPopularize extends MineNovelBean implements Parcelable {
    private String imgUrl;
    private String title;
    private String data;

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.imgUrl);
        dest.writeString(this.title);
        dest.writeString(this.data);
    }

    public BookShelfPopularize() {
    }

    protected BookShelfPopularize(Parcel in) {
        this.imgUrl = in.readString();
        this.title = in.readString();
        this.data = in.readString();
    }

    public static final Parcelable.Creator<BookShelfPopularize> CREATOR = new Parcelable.Creator<BookShelfPopularize>() {
        @Override
        public BookShelfPopularize createFromParcel(Parcel source) {
            return new BookShelfPopularize(source);
        }

        @Override
        public BookShelfPopularize[] newArray(int size) {
            return new BookShelfPopularize[size];
        }
    };
}
